package com.qst.binzhou2022.services;

import com.qst.binzhou2022.beans.StuInfo;
import com.qst.binzhou2022.mapper.StuInfoMapper;
import com.qst.binzhou2022.utils.MybatisUtils;

/**
 * @author spengda
 * @date 2022/4/715:21
 */
public class StuInfoService {


    public StuInfo getStuInfoJoinClassInfo(StuInfo stuInfo) {

        StuInfoMapper stuInfoMapper = (StuInfoMapper)MybatisUtils.getInstance().getMapper(StuInfoMapper.class);

        StuInfo stuInfo1 =   stuInfoMapper.getStuInfoJoinCourseInfo(stuInfo);
     /*   System.out.println(stuInfo1.toString());
        System.out.println("-------------------");
        System.out.println(stuInfo1.getClassInfo().toString());*/

        return stuInfo1;

    }
}
